export const itemList = [
	{
		label: '任务名称',
		model: 'name',
		required: true,
		message: '请输入任务名称',
		type: 'input',
		// test: 'mobile'
		// maxlength: 10,
	},
	{
		label: '任务类型',
		model: 'type',
		required: true,
		message: '请选择任务类型',
		type: 'select',
		controls: 'select',
		keyName: 'name',
		value: 'value',
		actions: [
			[
				{
					name: '拜访',
					value: 1
				},
				{
					name: '调研',
					value: 2
				},
			]
		]
	},
	{
		label: '品种',
		model: 'type1',
		required: true,
		message: '请输入品种',
		type: 'input'
	},
	{
		label: '省份',
		model: 'type2',
		required: true,
		message: '请输入省份',
		type: 'input'
	},
	{
		label: '医院名称',
		model: 'type4',
		required: true,
		message: '请输入医院名称',
		type: 'input'
	},
	{
		label: '科室名称',
		model: 'type4',
		required: true,
		message: '请输入科室名称',
		type: 'input'
	},
	{
		label: '拜访医生',
		model: 'type4',
		required: true,
		message: '请输入拜访医生',
		type: 'input'
	},
	{
		label: '拜访目的',
		model: 'target',
		modelName: 'targetZh',
		url: 'system/dict/data/type/set_pur_pose',
		required: true,
		message: '请输入拜访目的',
		keyName: 'dictLabel',
		value: 'dictValue',
		type: 'selectMd',
		controls: 'select',
	},
	{
		label: '拜访名称',
		model: 'type4',
		required: true,
		message: '请输入拜访名称',
		type: 'input'
	},
	{
		label: '拜访开始时间',
		model: 'timesta',
		required: true,
		message: '请选择拜访开始时间',
		type: 'select',
		controls: 'time',
		title: '请选择时间',
	},
	{
		label: '拜访结束时间',
		model: 'timesta',
		required: true,
		message: '请选择拜访开始时间',
		type: 'select',
		controls: 'time',
		title: '请选择时间',
	},
	{
		label: '学习资料',
		model: 'stuy',
		required: true,
		message: '请选择学习资料',
		type: 'file',
		documentType: '',
		documentList: [],
	},
	{
		label: '其它照片',
		model: 'stuyimg',
		required: false,
		message: '请选择其它照片',
		type: 'file',
		documentType: 'img',
		fileList: [],
	},
	// {
	// 	label: '医生反馈',
	// 	model: 'doctorIdea',
	// 	mulData: 'mulData',
	// 	url: 'system/dict/data/type/doctor_feed_back',
	// 	required: true,
	// 	message: '请输入医生反馈',
	// 	type: 'mulSelect',
	// },
	{
		label: '医生反馈',
		model: 'doctorIdea',
		modelName: 'targetZh',
		url: 'system/dict/data/type/doctor_feed_back',
		required: true,
		message: '请输入医生反馈',
		keyName: 'dictLabel',
		value: 'dictValue',
		type: 'selectMd',
		controls: 'select',
	},
	{
		label: '打卡地址',
		model: 'type4',
		required: true,
		message: '请输入拜访目的',
		type: 'input'
	},
	{
		label: '打卡地址',
		model: 'type4',
		required: true,
		message: '请输入拜访目的',
		type: 'input'
	},
	{
		label: '打卡照片',
		model: 'stuyimg',
		required: true,
		message: '请选择其它照片',
		type: 'file',
		documentType: 'img',
		fileList: [],
	},
	{
		label: '任务执行人',
		model: 'type4',
		required: true,
		message: '请输入拜访目的',
		type: 'input'
	},
	// {
	// 	label: '任务创建时间',
	// 	model: 'timesta',
	// 	required: true,
	// 	message: '请选择拜访开始时间',
	// 	type: 'select',
	// 	controls: 'time',
	// 	title: '请选择时间',
	// },
]